package com.my.springframework.beans.event;

import com.my.springframework.context.ApplicationListener;
import com.my.springframework.context.event.ContextRefreshedEvent;

/**
 * @author sk
 * @description
 * @since 2021-11-29
 **/
public class ContextRefreshedEventListener implements ApplicationListener<ContextRefreshedEvent> {
    /**
     * Handle an application event.
     *
     * @param event the event to respond to
     */
    @Override
    public void onApplicationEvent(ContextRefreshedEvent event) {
        System.out.println("刷新事件：" + this.getClass().getName());
    }
}
